var gulp = require('gulp'),
     // Proxy = require('gulp-connect-proxy');
    connect = require('gulp-connect'),
    minifycss = require('gulp-minify-css'),
    concat = require('gulp-concat'),
    uglify = require('gulp-uglify'),
    rename = require('gulp-rename'),
    del = require('del');
    obfuscate = require('gulp-obfuscate');
gulp.task('server', function() {
     connect.server({ root: 'app', livereload: true })
    
})
gulp.task('html', function(){
     gulp.src('public/*.html').pipe(connect.reload())
})
gulp.task('watch', function(){
    gulp.watch(['public/*.html'], ['html'])
})

gulp.task('default', ['watch','server'], function() {
    // gulp.start('minifycss', 'minifyjs');
});
// gulp.task('default', ['watch', 'server'])
